<!DOCTYPE html>
<html lang="zh-CN">
<HEAD>
	<TITLE>{$fdn_sitename}</TITLE>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="x-ua-compatible" content="ie=edge">
	<link href="/dlist/css/bootstrap.min.css" rel="stylesheet">
	<!-- <link href="/app/home/skins/default/style.css" rel="stylesheet"> -->
	<link href="/app/home/skins/default/stylenew.css" rel="stylesheet">
	<link href="/app/home/skins/default/style-responsive.css" rel="stylesheet">
	<!--[if lt IE 9]>
         <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
         <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
    <script src="/public/js/jquery-2.2.1.min.js"></script>
	<script src="/dlist/js/bootstrap.min.js"></script>
	<!-- <script src="/app/home/js/app.js"></script> -->
	<script src="/app/home/js/appnew.js"></script>
	<script src="/app/home/js/zdate.js"></script>
	<script src="http://api.map.baidu.com/api?v=2.0&ak={$fdn_baiduAK}" type="text/javascript"></script>
	<script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>

	<link href="/umeditor/themes/default/css/umeditor.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" charset="utf-8" src="/umeditor/umeditor.config.js"></script>
    <script type="text/javascript" charset="utf-8" src="/umeditor/umeditor.min.js"></script>
    <script type="text/javascript" src="/umeditor/lang/zh-cn/zh-cn.js"></script>
</HEAD>
<body onResize="resizergmain()">
<input type="hidden" id="ssacname" value="gymfd_{$ac}" vid="0"></input>
<div class="mt_ad"></div>
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
				<h4 class="modal-title" id="myModalLabel">标题</h4>
			</div>
			<div class="modal-body">主体</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
				<div class="btn btn-primary modalsub" onclick="dissub(this)">提交更改</div>
			</div>
		</div>
	</div>
</div>
<div id="cwin">
	<div class="cmain">
		<div class="ctop"><font></font><div class="cclose"></div></div>
		<div class="cw"></div>
	</div>
</div>
	<div class="header navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container-fluid">
				<img class="logo h" src="/img/logo3.png" onclick="location.href='index.php'" width="102" height="34">
				<div class="sidebar h"></div>
				<!-- <lable class="h hwhite hweight" onclick="history.back(-1)"><img class="goback" src="/img/fanhuixiao.png">&nbsp;返回</lable> -->
				<ul class="nav pull-right">
					<li class="flft">
						<span class="glyphicon glyphicon-cog hwhite h mar dropdown-toggle" id="sysset" data-toggle="dropdown" title="系统设置"></span>
						<ul class="dropdown-menu" role="menu" aria-labelledby="sysset">{php $gymi=1}
							{loop $gym_admin_menu $k $v}{if fdadmin($k,$_padmin[uid],$v['isqx'])||$gymi==count($gym_admin_menu)}
							{loop $v['list'] $ka $va}{if fdadmin($k.':'.$ka.':0',$_padmin['uid'],$v['isadmin'][$ka])||$gymi==count($gym_admin_menu)}
							<li role="presentation"><a role="menuitem" tabindex="-1" href="index.php?ac={php echo $v[url][$ka]}">{$va}</a></li>
							{/if}{/loop}{if $gymi<count($gym_admin_menu)}<li role="presentation" class="divider"></li>{/if}{/if}{php $gymi++}{/loop}
						</ul>
					</li>
					<li class="flft">
						<img class="logo h" src="{if $_padmin[face]!=''}{$_padmin[face]}{else}{php echo $fd_domain.'public/Images/face/tea0/boy5.jpg'}{/if}" onclick="location.href='index.php?ac=u_user'">
						<span class="hwhite marlft mar">{$_padmin[ename]}（{$_padmin[rolename]}）</span>
						<span class="hwhite h hweight mar" onclick="if(confirm('你确定要退出当前系统吗？'))location.href='index.php?ac=login&ts=out'">退出</span>
					</li>
				</ul>
			</div>
		</div>
	</div>
	<!-- 主体 -->
	<div id="main">
		<!-- 左边MENU -->
		<div class="page-sidebar">
				<div class="input-group" style="top:20px;padding: 0 15px 40px 15px;">
			         <input type="text" class="form-control" name="keywords" placeholder="家长信息/宝宝姓名/合同编号" {if $ac=='search'}value="{$keywords}"{/if}>
			         <span class="input-group-addon glyphicon glyphicon-search h" style="top:0px;" onclick="gym_ssubt()"></span>
      			</div>
			<div class="panel-group" id="accordion">
				{loop $gym_header $k $v}{if fdadmin($k,$_padmin['uid'],$v['isqx'])}
				<div class="panel">
					<div class="umenu h" data-toggle="collapse" data-parent="#accordion" href="#lmenu{$k}"><img src="{$v['img']}"><span class="marlft">{$v[title]}</span></div>
					<ul id="lmenu{$k}" class="collapse{php echo getleftmenu($ac,$k)}">
						{loop $v['list'] $ka $va}{if fdadmin($k.':'.$ka.':0',$_padmin['uid'],$v['isadmin'][$ka])}
						<li{php echo getleftmenu($ac,$k,$ka)} onclick="location.href='index.php?ac={php echo $v[url][$ka]}'">{$va}</li>
						{/if}{/loop}
					</ul>
				</div>
				{/if}
				{/loop}
			</div>
		</div>
		<!-- 右边主体 -->
		<div class="page-content container-fluid">
			<ol class="breadcrumb">
				<a class="mar" href="javascript:void(0)" onclick="history.back(-1)"><img class="h" src="/img/fanhuixiao.png">&nbsp;返回</a>
				<li><a href="index.php">首页</a></li>
				{$ttl2}
				{if $findenss==1}<span id="Frame_ttr" class="h">条件搜索 ▽</span>{/if}
			</ol>
			<table class="topmenu" width="100%">
				{loop $ttl5 $k $v}
				<tr>
					{if $v[title]!=''}<td width="120px;">{$v[title]}</td>{/if}
					<td>{loop $v['list'] $ka $va}{$va}{/loop}</td>
				</tr>
				{/loop}
			</table>
			<div class="topbun">
				{$pageUrl}
				{$topbutton}
			</div>
			<!-- 内容主体 -->
			<div class="rgmain">
